import request from '@/utils/request'

/*
	存储总体情况
*/
const total = (days) => request.get('/kylin/storage/total', { params: { days }}).then(resp => resp.data)

/*
	hbase存储增量
*/
const hbase = (days) => request.get(`/kylin/storage/hbase`, { params: { days }}).then(resp => resp.data)

/*
	metadata存储增量
*/
const metadata = (days) => request.get(`/kylin/storage/metadata`, { params: { days }}).then(resp => resp.data)

export default {
  total,
  hbase,
  metadata
}
